package com.zch.controller.bank.bac.test;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * @author zchcpywin10
 */
@Slf4j
@Controller
public class BankAbcTestPayController {
  /**
   * AgentBatchPaymentQuery
   * String hello(Model model, @RequestParam(value = "name", required = false, defaultValue = "World") String name)
   */
  @RequestMapping("/AgentBatchPaymentQuery")
  public String hello(String BatchNo, Model model) {
    log.info("BatchNo:" + BatchNo);
    String name = "AgentBatchPaymentQuery";
    // System.out.println("name = " + name)
    log.info("name:" + name);
    model.addAttribute("name", name);
    return "bank/abc/demo/AgentBatchPaymentQuery";
  }
}
